package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
/**
    * 行程场次表
    */
@ApiModel(value="com-example-springbootdemo-scene-entity-TravelRound")
@Data
@TableName(value = "travel_round")
public class TravelRound {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 导游id
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="导游id")
    private Long memberId;

    /**
     * 行程id
     */
    @TableField(value = "travel_id")
    @ApiModelProperty(value="行程id")
    private Integer travelId;

    @TableField(value = "start_time")
    @ApiModelProperty(value="")
    private Date startTime;

    @TableField(value = "end_time")
    @ApiModelProperty(value="")
    private Date endTime;

    public static final String COL_ID = "id";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_TRAVEL_ID = "travel_id";

    public static final String COL_START_TIME = "start_time";

    public static final String COL_END_TIME = "end_time";
}